import Layout from '@neu/biz-core/layout'

export default [
  {
    path: '/report',
    name: 'dcam_report',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: '报表管理',
      icon: 'chart',
      module: 'dcam',
      code: 'menu_report'
    },
    component: Layout,
    children: [
      {
        path: 'slreport',
        name: 'dcam_slreport',
        meta: {
          title: '报表分析',
          icon: 'excel',
          module: 'dcam',
          belongs: 'sl',
          categories: '1,2',
          code: 'menu_sl_report'
        },
        component: () => import('@neu/dcam-ui/views/report')
      },
      {
        path: 'gdreport',
        name: 'dcam_gdreport',
        meta: {
          title: '固定资产报表',
          icon: 'excel',
          module: 'dcam',
          categories: '1',
          code: 'menu_sl_gdreport'
        },
        component: () => import('@neu/dcam-ui/views/report/tablereport/timedim.vue')
      },
      {
        path: 'dzyhpreport',
        name: 'dcam_dzyhpreport',
        meta: {
          title: '低值易耗品报表',
          icon: 'excel',
          module: 'dcam',
          categories: '2',
          code: 'menu_sl_dzyhpreport'
        },
        component: () => import('@neu/dcam-ui/views/report/tablereport/timedim.vue')
      },
      {
        path: 'xhpreport',
        name: 'dcam_xhpreport',
        meta: {
          title: '消耗品报表',
          icon: 'excel',
          module: 'dcam',
          categories: '3',
          code: 'menu_sl_xhpreport'
        },
        component: () => import('@neu/dcam-ui/views/report/tablereport/timedim.vue')
      },
      {
        path: 'personalreport',
        name: 'dcam_personalreport',
        meta: {
          title: '个人资产报表',
          icon: 'excel',
          module: 'dcam',
          categories: '3',
          code: 'menu_sl_personalreport'
        },
        component: () => import('@neu/dcam-ui/views/report/tablereport/personal.vue')
      },
      {
        path: 'inventoryreport',
        name: 'dcam_inventoryreport',
        meta: {
          title: '资产盘点报表',
          icon: 'excel',
          module: 'dcam',
          categories: '3',
          code: 'menu_sl_inventoryreport'
        },
        component: () => import('@neu/dcam-ui/views/report/tablereport/inventory.vue')
      }
    ]
  }
]
